/*
 * This file is part of aion-engine <aion-engine.com>
 *
 * aion-engine is private software: you can redistribute it and or modify
 * it under the terms of the GNU Lesser Public License as published by
 * the Private Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * aion-engine is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser Public License for more details.
 *
 * You should have received a copy of the GNU Lesser Public License
 * along with aion-engine.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.aionengine.gameserver.model.templates.serial_killer;

import com.aionengine.gameserver.model.stats.container.StatEnum;
import com.aionengine.gameserver.skillengine.change.Func;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

/**
 * @author Dtem
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RankPenaltyAttr")
public class RankPenaltyAttr {

    @XmlAttribute(required = true)
    protected StatEnum stat;
    @XmlAttribute(required = true)
    protected Func func;
    @XmlAttribute(required = true)
    protected int value;

    /**
     * Gets the value of the stat property.
     *
     * @return possible object is
     *         {@link StatEnum }
     */
    public StatEnum getStat() {
        return stat;
    }

    /**
     * Sets the value of the stat property.
     *
     * @param value allowed object is
     *              {@link StatEnum }
     */
    public void setStat(StatEnum value) {
        this.stat = value;
    }

    /**
     * Gets the value of the func property.
     *
     * @return possible object is
     *         {@link Func }
     */
    public Func getFunc() {
        return func;
    }

    /**
     * Sets the value of the func property.
     *
     * @param value allowed object is
     *              {@link Func }
     */
    public void setFunc(Func value) {
        this.func = value;
    }

    /**
     * Gets the value of the value property.
     */
    public int getValue() {
        return value;
    }

    /**
     * Sets the value of the value property.
     */
    public void setValue(int value) {
        this.value = value;
    }

}
